package pl.put.to.classification.verification;

public class StopConditionVeryficator {
	private static final double EPSILON = 0.001;

	public boolean verifyIfErrorNotChanging(double previousError, double currentError) {
		boolean result = false;

		if (Math.abs(currentError - previousError) <= EPSILON) {
			result = true;
		}

		return result;
	}
}
